<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<head>
    <th:block th:include="include :: header('功能模块列表')" />
</head>
<body class="gray-bg">
     <div class="row">
			<div class="col-sm-12 search-collapse">
				<form id="md-table-form">
					<div class="select-list">
						<input id="moduleId" name="moduleId"  type="hidden"/>
					</div>
				</form>
			</div> 
	</div>	
     <div class="container-div">
        <div class="row">
            <div class="col-sm-12 select-table table-striped">
                <table id="mdTableDialogTable"></table>
            </div>
        </div>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var showFlag = [[${@permission.hasPermi('system:module:showMdTableList')}]];
        var prefix = ctx + "verify/rule";

        $(function() {
        	 var moduleId = window.parent.document.getElementById("moduleId").value;
             $("#moduleId").val(moduleId);
            var options = {
                url: prefix + "/showMdTableList",
                modalName: "MD定义",
                singleSelect:true,
                columns: [{
                    checkbox: true
                },
                {
                    field: 'moduleId',
                    title: '模块Id',
                    visible: true
                },
                {
                    field: 'tableCode',
                    title: '表代码'
                },
                {
                    field: 'tableName',
                    title: '表名称'
                },
                {
                    field: 'tableContent',
                    title: '表说明'
                }]
            };
            $.table.init2(options,"mdTableDialogTable");
        });
    </script>
</body>
</html>
